<!-- 用于返回的nav导航 -->
<template>
  <div class="backNav">
    <van-nav-bar
      :title="$route.meta.title"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },

  components: {},

  computed: {},

  mounted() {},

  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>
<style scoped lang="less">
.backNav {
  position: fixed;
  width: 100%;
  height: 40px;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 999;
}
</style>
